using System;
using System.Collections.Generic;

namespace LogManager.Base.Data
{
    public interface IImportService : IDisposable
    {
        IEnumerable<EventImport> All();
        IEnumerable<EventImport> All(string serverName, string logName);
        IEnumerable<IEventImport> WithinRange(DateTime start, DateTime end, string serverName, string logName);
        IEventImport Interleaving(DateTime start, DateTime end, string serverName, string logName);
        IEventImport Leaving(DateTime start, DateTime end,string serverName, string logName);
        IEventImport CoversRange(DateTime start, DateTime end,string serverName, string logName);
        IEnumerable<IPlannedEventImport> RequiredImports(DateTime start, DateTime end,string serverName, string logName);
    }
}